package com.ashley.day_03;

//为抵抗洪水，战士连续作战89小时，编程计算共多少天零多少小时？
public class HourTest {

	public static void main(String[] args) {
		int hour1 = 89;
		int day = hour1 / 24;
		int hour2 = hour1 % 24;
		System.out.println(day + "天零" + hour2 + "小时");

	}

}
